<?php

$dateFormat = new Zend_Date($this->departure_time, 'y-MM-dd HH:mm:ss');
$departureTime = $dateFormat->toString('dd-MM-y HH:mm:ss');

$dateFormat = new Zend_Date($this->arrival_time, 'y-MM-dd HH:mm:ss');
$arrivalTime = $dateFormat->toString('dd-MM-y HH:mm:ss');
?>
<tr>
	<td style="width:5em;">
		<a href="/admin/trip/update/id/<?php echo $this->trip_id; ?>">Sửa</a> | 
		<a href="javascript:confirmDelete('/admin/trip/delete/id/<?php echo $this->trip_id; ?>')">Xóa</a>
	</td>
	<td><?php echo $this->trip_id; ?></td>
	<td><?php echo $this->from_city; ?> - <?php echo $this->to_city; ?></td>
	<td><?php echo $departureTime; ?></td>
	<td><?php echo $arrivalTime; ?></td>	
	<td><?php echo $this->fare; ?></td>
</tr>